package com.isp.org.api.dto.role;


import com.isp.org.api.enums.DataScope;

import java.io.Serializable;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/1/24 14:21
 */
public class SysRole implements Serializable {

    private static final long serialVersionUID = -6999816365928987912L;

    private Long id;
    private String code;
    private String name;
    private Long userId;
    private DataScope dataScope;
    private String creator;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public DataScope getDataScope() {
        return dataScope;
    }

    public void setDataScope(DataScope dataScope) {
        this.dataScope = dataScope;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
}
